package br.mikhas.db.serdes;

/**
 * Defines a simple interface to eimplify the creation of various serialization
 * inputs to be used on deserialization process.
 * 
 * @author Mikhail Domanoski
 * 
 */
public interface DeserializationInput {

	/**
	 * Reads an ammount of bytes from the target input
	 * 
	 * @param length
	 *            The ammount of bytes to be read from the input
	 * @return The bytes read
	 */
	public byte[] ready(int length);
}
